from rest_framework import serializers
from apps.models import User


# 更新家政的个人信息序列化
class UpdateDataSerializer(serializers.ModelSerializer):
    class Meta:
        model = User
        fields = ['avatar', 'username', 'mobile', 'email', 'description']
        